package com.yitongmao.bean;

import java.util.List;

/*
* 作者：梁伟航 on 2017/7/28 11:52
* 类的用途：
*/
public class AddressListBean {


    /**
     * result : {"state":"1","code":"SUCCESS","url":null,"obj":null,"isRollBack":null,"message":"查询成功!"}
     * address : [{"id":15,"userId":6,"provinceId":120000,"cityId":120100,"countryId":120101,"name":"sdsad","phone":"18513254737","address":"sss","status":"01","provinceName":"天津","cityName":"天津市","countryName":"和平区"},{"id":1,"userId":6,"provinceId":110000,"cityId":110100,"countryId":110109,"name":"雷子","phone":"18810852129","address":"阿里啊","status":"00","provinceName":"北京","cityName":"北京市","countryName":"门头沟区"},{"id":3,"userId":6,"provinceId":110000,"cityId":110100,"countryId":110101,"name":"阿里路","phone":"18811111111","address":"巴拉克","status":"00","provinceName":"北京","cityName":"北京市","countryName":"东城区"},{"id":5,"userId":6,"provinceId":110000,"cityId":110100,"countryId":110101,"name":"阿狸","phone":"18866666666","address":"阿LOL数据","status":"00","provinceName":"北京","cityName":"北京市","countryName":"东城区"},{"id":6,"userId":6,"provinceId":110000,"cityId":110100,"countryId":110101,"name":"阿里啦啦","phone":"18877777777","address":"，葫芦娃","status":"00","provinceName":"北京","cityName":"北京市","countryName":"东城区"},{"id":7,"userId":6,"provinceId":110000,"cityId":110100,"countryId":110101,"name":"啦啊","phone":"18810852128","address":"，巴拉克了","status":"00","provinceName":"北京","cityName":"北京市","countryName":"东城区"},{"id":8,"userId":6,"provinceId":110000,"cityId":110100,"countryId":110101,"name":"BBC大","phone":"18866666666","address":"b","status":"00","provinceName":"北京","cityName":"北京市","countryName":"东城区"},{"id":9,"userId":6,"provinceId":210000,"cityId":210100,"countryId":210102,"name":"罗大佑","phone":"18513254769","address":"罗马音","status":"00","provinceName":"辽宁省","cityName":"沈阳市","countryName":"和平区"},{"id":10,"userId":6,"provinceId":210000,"cityId":210100,"countryId":210102,"name":"罗大佑","phone":"18513254769","address":"罗马音","status":"00","provinceName":"辽宁省","cityName":"沈阳市","countryName":"和平区"},{"id":11,"userId":6,"provinceId":210000,"cityId":210100,"countryId":210102,"name":"out我","phone":"13939526580","address":"阿罗","status":"00","provinceName":"辽宁省","cityName":"沈阳市","countryName":"和平区"},{"id":13,"userId":6,"provinceId":210000,"cityId":210100,"countryId":210102,"name":"ngfnfg","phone":"156056","address":"ngfnfn","status":"00","provinceName":"辽宁省","cityName":"沈阳市","countryName":"和平区"},{"id":14,"userId":6,"provinceId":210000,"cityId":156,"countryId":255,"name":"ngfnfn","phone":"nfgngfn","address":"ngfnf","status":"00","provinceName":"辽宁省","cityName":null,"countryName":null}]
     */

    public ResultBean result;
    public List<AddressBean> address;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public List<AddressBean> getAddress() {
        return address;
    }

    public void setAddress(List<AddressBean> address) {
        this.address = address;
    }

    public static class ResultBean {
        /**
         * state : 1
         * code : SUCCESS
         * url : null
         * obj : null
         * isRollBack : null
         * message : 查询成功!
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public Object getUrl() {
            return url;
        }

        public void setUrl(Object url) {
            this.url = url;
        }

        public Object getObj() {
            return obj;
        }

        public void setObj(Object obj) {
            this.obj = obj;
        }

        public Object getIsRollBack() {
            return isRollBack;
        }

        public void setIsRollBack(Object isRollBack) {
            this.isRollBack = isRollBack;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }

    public static class AddressBean {
        /**
         * id : 15
         * userId : 6
         * provinceId : 120000
         * cityId : 120100
         * countryId : 120101
         * name : sdsad
         * phone : 18513254737
         * address : sss
         * status : 01
         * provinceName : 天津
         * cityName : 天津市
         * countryName : 和平区
         */

        public int id;
        public int userId;
        public int provinceId;
        public int cityId;
        public int countryId;
        public String name;
        public String phone;
        public String address;
        public String status;
        public String provinceName;
        public String cityName;
        public String countryName;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getProvinceId() {
            return provinceId;
        }

        public void setProvinceId(int provinceId) {
            this.provinceId = provinceId;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public int getCountryId() {
            return countryId;
        }

        public void setCountryId(int countryId) {
            this.countryId = countryId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getProvinceName() {
            return provinceName;
        }

        public void setProvinceName(String provinceName) {
            this.provinceName = provinceName;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public String getCountryName() {
            return countryName;
        }

        public void setCountryName(String countryName) {
            this.countryName = countryName;
        }
    }
}
